<?php
namespace app\index\controller;

use app\common\model\Admin;
use think\Controller;
use think\Db;
use think\Request;
use think\Route;

class Index extends Controller
{

	/**
	 * @return mixed
	 */
	public function index($id){
		dump(url('index/index/index', ['id' => 5]));
		return $id;
	}




	public function testForm(){
		$res =   Request::instance()->get('cate_id');
		echo $res;
		echo $_SERVER['HTTP_ACCEPT_LANGUAGE'];
		return 'hello word';
	}

	public function _empty($name){
		return "空控制器".$name;
	}
}
